<?php

namespace App\Achieve;

use HyperfExt\Jwt\Contracts\JwtSubjectInterface;

class User implements JwtSubjectInterface
{
    private $id;

    private $profiles;

    public function __construct(int $id , array $profiles)
    {
        $this->id = $id;
        $this->profiles = $profiles;
    }

    public function getJwtCustomClaims(): array
    {
        return [

        ];
    }

    public function getJwtIdentifier()
    {
        return $this->id;
    }
}